python counting occurrence of element in linked list without using recursion

welcome to shbcf.ru